import {defineConfig} from 'vitepress'

import nav from './nav'
import sidebar from './sidebar'
import footer from './footer'

// https://vitepress.dev/reference/site-config
export default defineConfig({
    title: "大淘会员",
    description: "大淘会员 外卖优惠券 折扣电影票 电商优惠券",
    outDir: './.vitepress/dist/datao.mosong.cc/',
    base: '/',
    lang: 'zh-CN',
    appearance: 'light',
    head: [],
    rewrites: {},
    themeConfig: {
        // https://vitepress.dev/reference/default-theme-config
        logo: {light: '/logo.png', dark: '/logo.png'},
        nav,
        sidebar,
        footer,
        socialLinks: [
            {icon: 'github', link: 'https://work.weixin.qq.com/kfid/kfca8869ef04dbf1f2a'}
        ],
        outline: {
            level: 'deep',
            label: '大纲导航'
        },
        search: {
            provider: 'local'
        }
    },
    sitemap: {
        hostname: 'https://datao.mosong.cc'
    }
})
